
// 报关行
import request from "@/utils/https/requests";
// 列表
export function customBrokerList(data: any) {
  return request({
    url: "/customBroker/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddCustomBroker(data: any) {
  return request({
    url: "/customBroker/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModCustomBroker(data: any) {
  return request({
    url: `/customBroker/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function customBrokerDetail(id: string) {
  return request({
    url: `/customBroker/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteCustomBroker(id: string) {
  return request({
    url: `/customBroker/postDelete/${id}`,
    method: "post",
  });
}
